On locally graded groups with an Engel condition on infinite subsets