The Chagos Islands deal will not go ahead without the backing of Donald Trump, Foreign Secretary David Lammy has said.