President-elect Donald Trump revealed that he was “open” to Robert F. Kennedy Jr. looking into the link between vaccines and autism.