Response of plasma rotation to resonant magnetic perturbations in J-TEXT tokamak