Attorney General Rob Bonta wrote the initiative “Restricts Rights of Transgender Youth,” while supporters say it protects children.