Changed the wxDirect2D helper class implementation

Instead of holding wxDllType handles, this class now holds the actual wxDynamicLibrary objects, which are automatically and properly destroyed at program shutdown, without requiring the aid of a module.