A U.S. appeals court on Thursday handed President Donald Trump a setback, rejecting his bid to end a lawsuit that accused him of violating anti-corruption provisions of the U.S. Constitution with his ownership of a hotel in Washington while in office.