Donald Trump has sparked uproar during his State of the Union address after asking lawmakers to prove loyalty to the US.