Gabriel Woyna - diplomat, Polish–Lithuanian Commonwealth