The executive, who helped reconfigure Mars’ agency roster and implement AI-focused marketing frameworks, will depart in Q4.