California high court to hear challenges to gay-marriage ban