Stocks do better when U.S. presidents aren’t well-liked.