To get a sense of the quandary facing the Democratic Party, look back two centuries, to the plight of the short-lived National Republican Party.