The ruling is another setback for Meta, which faces an avalanche of lawsuits from thousands of families of children harmed by social media