Stocks are on an astonishing run. Yet threats lurk