Lie nilpotence of group rings