The U.S. Supreme Court cleared the way on Tuesday for states to impose restrictions on transgender student athletes.