3G Capital, which helped to engineer the Kraft Heinz merger, had seen its influence at the company wane.