Eric Barlow’s defeat of Megan Degenfelder, the state superintendent of education, again showed the limits of the president’s favor.