Relativistic formulation of quantum state diffusion