dock:: fix invalid tray icons.

some tray icons won't be deleted from list, because DestroyNotifyEvent is not
recivced for some unknown reason.

tmp solution:
check valid window on addTrayIcon each time.

Change-Id: I091f388a8cf97eabc6ee600e30f302841181764f