The judge on Friday ruled that the actress could not seek treble and punitive damages under a California law designed to protect people who come forward with allegations of sexual misconduct.