Remove Hex or a life regen that is better than 5>>
Or you can cast spells against the mesmer that will make him not want, or unable to cast such spells.
Wanna shut down a mesmer? Make a mesmer/ranger combo and that is what they are all about. Like stated above, backfire is a great way to keep that opposing mesmer in check, but expect him to do the same to you. Also, make good use of the ranger poisons and such. If he is worrying about his health, he isn't too concerned with lowering someone elses.