Sir Keir Starmer said he wanted to meet both Kamala Harris and Donald Trump before November’s US presidential election.