On a problem of Plotkin concerning locally nilpotent groups