California leaders have vowed to protect gender-affirming care, but experts and advocates said access could nonetheless be undermined by federal action as Donald Trump returns to office.