Despite stock market highs, the US president risks losing the working-class base that voted him into office