Throughout the past six months, surging global liquidity caused the S&P 500 to rally to new highs. But liquidity is at risk of sliding.