Quantizing charged magnetic domain walls: Strings on a lattice