Use the same custom hook for `cabal copy` in wxc/Setup.hs

This copies the changes from pull request #2 to the master branch
https://github.com/wxHaskell/wxHaskell/pull/2
and probably solves bug ticket 56
https://sourceforge.net/p/wxhaskell/bugs/56/