Mayor Eric Adams has asked a judge to let him suspend the city’s 42-year-old obligation to provide a bed to anyone who requests it, as migrants overwhelm the city’s shelter system.