The campaign’s end comes days after the Senate confirmed Health and Human Services Secretary Robert F. Kennedy Jr., a longtime skeptic of vaccines.