The U.S. Supreme Court ruled Monday that states can enforce an elector’s pledge to support the winner of the state popular vote in presidential elections.

Justice…