US stocks close lower as Fed eyes 2023 for rate hike