You cannot extinguish fire objects, only fire created with https://wiki.multitheftauto.com/wiki/CreateFire
If for some reason you have to use fire objects instead, you can probably employ a trick (using an invisible ped maybe) to detect when the fire object is hit by the water cannon and destroy the object.