Can I use 14/2 wire on a 2500 watt heater
Heaters must be derated to 125% when provisioning service for them. So 2500 watts gets derated to 3125 watts and that is what you must provision.  

That is within the 3600 watt capacity of a 15A/240V circuit.