Brokerages are sitting on something that could help fuel a rally in the stock market — piles of uninvested cash.