WASHINGTON — The Supreme Court on Thursday sided with Facebook in a lawsuit over unwanted text notifications it sent, rejecting a claim that the messages violated the federal ban on robocalls.The high court’s ruling for the Menlo Park, Calif.-based social media giant was unanimous.Democratic lawmakers and consumer groups said the court opened a gaping hole in the law, the Telephone Consumer Protection Act, that would subject anyone with a cellphone to endless automated calls and messages.The case was brought by a man who …