The largest conjugacy class size and the nilpotent subgroups of finite groups