Your waypoints weren't actually gone. When Safari on the iPad reloads the page after you've been in another app, the website keeps your unsaved route and offers "Continue your unsaved route". On an upright iPad, though, that offer was tucked away in the folded panel at the bottom, under "0 waypoints", so it looked like everything was lost. If it happens again before the fix is live, tap that bottom panel to open it: the offer is at the top. In the next update the panel opens on that offer by itself, and your route is also saved the moment you switch apps.