Add FindWine module and use it in main CMakeLists.txt

Old CheckLibraryExists implementation didn't work on my system.
A find module should be better and also easier to maintain.