Support specific XCURSORPATH or search XDG_DATA_DIRS
Currently there is no method to change the hardcode XCURSORPATH.
However, when using with some complex systems(such as flatpak/snap/nix), it may be needed.
We should support XDG_DATA_DIRS which is described in XDG Base Directory Specification, or at least supports specific XCURSORPATH when compiling.
Related:
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1484
!192
https://github.com/alacritty/alacritty/issues/4371
https://github.com/flatpak/flatpak/commit/ad87b12264e2795c27a2a4da496b2e3c719767e1