From the Drinfeld realization to the Drinfeld–Jimbo presentation of affine quantum algebras: injectivity