Eleven years after Massachusetts became the first state to allow gay marriages, the justices agreed to consider lifting the bans that remain in place in 14 states, accepting appeals from couples in Michigan,Kentucky, Tennessee and Ohio.