Sealants need to bond to the paint's surface -- this is what makes them more durable. If there is a layer of wax over the paint already, then the sealant cannot directly contact with the paint and thus doesn't bond.
Wax doesn't bond to paint, it just sits on top of it.