Change the healing ability of the Fountain to only allies, and make it controlled by a player on the team that you want healed by it.
It looks like on Neutral Passive can make actual Healing Fountains, so you will have to edit a custom building so it looks/acts like one.