New York City’s school buildings will close out of caution if the citywide Covid-19 infection rate hits 3%, even though the virus has been absent from almost every classroom, Mayor Bill de Blasio’s top health adviser said in an interview Friday.