Added support for dynamically loading d2d1.dll and dwrite.dll

In order to have Direct2D support enabled by default and to ensure that versions of wxWidgets compiled with Direct2D support also work on platforms where Direct2D is not available, the implementation now searches for the dependent DLLs at run-time and falls back to GDI+ when no support is detected.