A federal appeals court dealt House Democrats a heavy blow on Friday, ruling in favor of President Donald Trump in…