New York City public schools that lost students after families moved or pulled out because of the Covid-19 pandemic now must prepare to return to the city some funding due to enrollment drops.