A recent decline in investor sentiment could be a contrarian indicator that's a positive sign for stocks in 2025.