Democrats turned pessimistic about the stock market after Donald Trump won four years ago, and Republicans may be doing the same now.