A good sith never walks while doing lightning anyways. They jump and lighting to stun you and swing as soon as they land so there is no movement penalty on the lightning.
Best way to dodge this is to not run straight back but to strafe in the opposite direction to the swing.
Not the easiest...