A federal appeals court has upheld the nationwide block of President Donald Trump’s executive order restricting travel.