After Donald Trump's declared his win in the 2024 US presidential election, world leaders hurried to congratulate the President-elect.