Supreme Court hears challenge to 4 states' same-sex marriage ban