A federal judge in California ruled on Monday to uphold a new law requiring crisis pregnancy centers to disclose that they are not licensed medical providers and to post notices providing information about California’s public programs offering access to family planning, prenatal and abortion services.