Bill would allow students to opt out of LGBT curriculum