App-based delivery workers to earn nearly $20 an hour by 2025 after a New York judge upheld the minimum wage law.