Democrats have hoped that President Trump’s deep unpopularity would propel them to gains in next year’s midterm election as they fight to take control of the House and improve their position in the Senate. But last year’s contests and this year’s special elections suggest a complication: Trump...