Sir Keir Starmer has said the United States is right about the UK and Europe needing to take more responsibility for defence and security.