US stocks close higher but snap 9-week winning streak to kick off 2024