Sir Keir Starmer has said the UK's "national interest" must come first amid Donald Trump's trade wars.