US stocks close lower as inflation at highest level in more than 40 years