The UK government would oppose any effort to move Palestinians in Gaza to neighbouring Arab states against their will, a Foreign Office minister has said after Donald Trump claimed the US would take over the territory.