Donald Trump has warned Theresa May that her Brexit plan could “kill” any US-trade deal because it would leave the UK closely aligned to the EU.