Kentucky Gov. Andy Beshear, a Democrat, was excoriated by his Republican challengers after he vetoed a bill that would ban gender transition surgeries for minors.