I observed the same thing around the time online ordering became more popular. It used to be that at a lunch spot, cashiers or phone operators could restrict the order flow a bit to keep the kitchen from getting overwhelmed with orders. DoorDash et al. have no interest in that, they only want to take as many orders as possible, as quickly as possible; they have an incentive to obfuscate the real wait time from customers.
Waiting in line to order your lunch is skin in the game. Even the sight of a long line is enough to help load balance lunch orders between restaurants. I do wonder though that if restaurants could feed back to DoorDash and limit the order flow with online-only "surge pricing", if that would help in the same way to forestall kitchen overwhelm.