Weakly Lie Engel condition on group rings