The bill requires the state’s medical board to revoke the licenses of doctors who provide gender-affirming care to minors, even though professionals who deal with transgender youth see such care as vital to helping their mental health and preventing suicides.