California's highest court has agreed to hear legal challenges to the state's new same-sex marriage ban, but is refusing to allow gay couples to resume marrying until it rules on the measure's validity.