Canonical endomorphism field on a Lie algebra