The state now joins about 20 others that have passed laws blocking minors from having access to gender-transition care.