Doritos is using its global Formula One sponsorship to win over Gen Z consumers as it moves beyond snacking into meal occasions.