Józef Wandalin Mniszech — governor, Polish–Lithuanian Commonwealth