Robert F. Kennedy Jr., testifying before Congress for the first time as health secretary, also said he did not think Americans should be taking “medical advice from me.”