Marc Lore’s Wonder is close to a deal to buy the food-delivery startup from Europe’s Just Eat Takeaway.com.