Donavan McKinney and William Lawrence had mounted challenges for House seats that posed a threat to the Democratic establishment in the battleground state.