For Donald Trump, the benefit of Robert F. Kennedy Jr.’s endorsement was obvious. The election has shifted dramatically in favor of Vice President Kamala Harris but remains close; picking up even a few percentage points of support from former Kennedy voters could make the difference. For