Unregister configuration listener when remove container

AppWindowToken and Task are registered as configuration change listener
while creating. We need to unregister them when get removed. The
unregistration was a part of the removed window container controllers.

Test: atest WmTests
Test: go/wm-smoke
Bug: 80414790
Change-Id: Ic33ca9aafb14d39c32b4b8015cdb6eccf04d9562
2 files changed