A public-school district in southern California sued Governor Gavin Newsom on Tuesday after he signed a bill into law preventing school districts from requiring that teachers and administrators inform parents of their child’s change in sexual orientation or gender identity.