Accenture’s stock rallied toward a six-month high Thursday, after the management consultant got back to beating earnings expectations and continued to tout itself as a play on the boom in generative artificial intelligence.