Kentucky’s Republican-led legislature on Thursday rammed through a measure to ban gender-affirming care for transgender youth, sending it to Gov. Andy Beshear’s desk before a deadline that would have stripped it of the power to override his expected veto.