On the Maxwell-Stefan diffusion limit for a reactive mixture of polyatomic gases in non-isothermal setting