Victories for Sen. Darline Graham in South Carolina and Mike Mazzei in Oklahoma showed the president’s backing still carries clout.