A top aide to Sen. Kamala Harris sent a damning resignation letter, declaring that she has never seen an organization “treat its staff so poorly” and accusing the campaign of encouraging people to move across states — only to lay them off without notice.