History suggests that stocks are likely to rise into New Year’s. But maybe not for the reason you think.