The bill would make it illegal for doctors to dispense puberty-blocking drugs or perform sex-change surgery on minors