The Democratic officials’ case raises the likelihood that rules around pills will go before the Supreme Court