Off-duty police officer stabbed, suspect detained