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