Lipschitz-like property relative to a set and the generalized Mordukhovich criterion