California's governor has nominated the first openly gay judge to the state's Supreme Court.