A federal appeals court has upheld a ruling that blocks President Trump's attempt to establish a fed…