Refactor wxImageList and convert it to use physical pixels and add support for high DPI state images wxTreeCtrl using the new wxImageList. See #24000, #24033.