The ads had been designed to find users of Meta products to join the growing number of lawsuits targeting the social-media giant.