Donald Trump — whom the majority of Americans view unfavorably and consider unqualified to be president — was a gift to the Democrats, and his nomination should have led to an easy electoral triumph.