Charged domain-wall dynamics in doped antiferromagnets and spin fluctuations in cuprate superconductors