Dry-friction and critical state in lyotropic nematic liquid crystals in a magnetic field