Exchange-stiffness measurement scheme based on domain-wall chirality transition