SAN FRANCISCO (Reuters) - A federal judge on Wednesday struck down a California ban on same-sex marriages as unconstitutional, handing a key victory to gay rights advocates in a politically charged decision almost certain to reach the U.S. Supreme Court.