The stock market kicked off 2024 on a rough note, as major indexes broke their historic winning streaks, with losses concentrated in the biggest stocks responsible for much of last year’s strong gains.