You can't, as far as I'm aware. You can hide the flying text entirely if you want, but not just the damage type icon.

Why do you want to turn it off, anyway? It can be useful information.