Nilpotency of Central Extensions of Lie Algebras