Direct3D: destroy the window if any when in desktop wall paper mode
Direct3D: destroy the window if any when in desktop wall paper mode

(Manual cherry picked from commit f56d33ed1664db86aeff2580b66291080c467184)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>

Close #13647

Signed-off-by: Jean-Baptiste Kempf <7b85a41a628204b76aba4326273a3ccc74bd009a@videolan.org>

jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2