U.S. stocks ended higher on Thursday, with the Nasdaq Composite notching its longest win streak since July, after consumer-price index data showed inflation slowed again last month, but not by a wide enough margin to prompt the Federal Reserve to reconsider further interest-rat …