Merge pull request #2157 from lioncash/leaks DolphinWX: Allow input subsystems to correctly deinitialize