Year-over-year earnings growth for the biggest companies peaked in late 2023