Papa John’s will close about 300 underperforming North American locations by 2027, with most shutting down in 2026.