Handle correctly the destruction of a windows

The task WaylandDisplayPollThread associated to a widget is never stopped

BUG-Tizen=TC-1835

Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>