The Supreme Court is weighing whether to take a case with implications for same-sex marriage in the United States.