Fluid dynamics for relativistic spin-polarized media