Chains such as Domino’s and Papa John’s have suffered as consumers cut back on the pandemic superstars.