Relativistic collective diffusion in one-dimensional systems