This chart shows S&P 500 rally could resume if inflation has peaked