The former prime minister made a surprise appearance at US President-elect Donald Trump’s New Year’s Eve celebrations.