SAN FRANCISCO — The California Supreme Court upheld a citizen-enacted ban on gay “marriage,” capping one of the most significant victories in the history of the social conservative movement but also setting up what is certain to be an effort by opponents to overturn it. Proposition 8, as it is known, passed by a margin of 52–48 percent on Election…