Sir Keir Starmer said he had been discussing the situation with other leaders amid concerns about future US policy under Donald Trump.