Recession or not, a flatter curve generally bodes ill for future stock market performance. The current trend in the yield curve is likely to cap the upside for stocks in the next 12 months.