Information technology stocks have shaken off their summertime blues, even reclaiming the top spot on the stock market’s 2024 leaderboard.