Robert F. Kennedy Jr. withdrew from the ballot in Arizona late Thursday, a day before he and Donald Trump were set to appear miles apart in the Phoenix area as speculation grows that Kennedy could drop his independent presidential bid and endorse the Republican nominee.