From jobs to housing to grocery prices, the U.S. economy has been weakening for months. But the stock market is telling a different story.