Masking did help protect children from the virus last fall, according to a C.D.C. study.