You should rather buy 1 licence, install 2 versions (one for mac, one for windows) and run only one at a time.
Maybe it is possible to install one X-plane that can run either on Mac or on Windows, so that the data files are shared, but if it is the case, I do not know about it.