Turbulent heating of ions of a non-isothermal plasma by the electron-sound instability