Supreme Court hears second gay marriage case