Meta’s newly promoted head of global affairs has masterminded social media giant’s pivot towards Donald Trump