Oyo Hotels, the once high-flying Indian startup, is reviving plans for a stock-market debut after cost cuts and a recovery in travel helped it reduce losses.