nine: cleanup public headers a bit
d3dadapter9: use correct library dependencies
libd3d9-wine: port to Xlib

This will inevitable make it slower, but this is just staging for
direct wine integration.