Fix invalid destruction of painter in wxQT

The DC is not really associated to the window, so the m_qtPainter is owned by this class and should be deleted in base dtor