Ms. Gruters had been favored to win in a congressional district that was redrawn as part of Gov. Ron DeSantis’s new map, which leaned even more Republican.