The way I speak and the way I write are different. Avoiding slang like 'wanna' when writing is good.
'Wanna' has a particular confrontational connotation (possibly a joking one) that I believe was desired here. 'Want to' wouldn't have had the same effect.
I ask because I would like to explore the reasoning behind the conclusion that such words are bad. If they are bad because they hinder effective communication, then so are words that are uncommonly known, I argue. Which seems to pose the argument that we should best speak like simpletons because simpletons, or people that are too pedantic, may not understand the meaning.