The S&P 500 is extremely expensive, making it particularly vulnerable to declines. But it doesn’t have to happen.