DoorDash Inc.’s third-quarter forecast for a key demand metric on Thursday got here in above Wall Avenue’s expectations, however the supply app misplaced greater than anticipated through the second quarter, because it invests in increasing what — and the place — it delivers.