Wall Street hits three-month high as inflation cools