Prolonging the lifetime of relativistic particles by self-accelerating Dirac wavepackets