Robert F. Kennedy Jr.’s repeated support for vaccines during Senate confirmation hearings follow a long history of disparaging them.