DoorDash Inc. on Thursday said its gross order volume and total orders hit new records in the second quarter as demand for delivery remained strong even as in-restaurant dining resumed, though it forecast a drop-off in the third quarter.