Floquet control of quantum dissipation in spin chains