wmctrl: migrate to brewed X11
wmctrl: migrate to brewed X11

Tracking issue: #64166

- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/HEAD/CONTRIBUTING.md)?
- [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?
- [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?
- [x] Is your test running fine `brew test <formula>`, where `<formula>` is the name of the formula you're submitting?
- [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)?

-----

- [x] `brew install FORMULA` on this list (should be poured from a bottle, not built from source)
- [x] Run `brew linkage FORMULA` and observe which X11 libraries it links against
- [x] Modify the formula to remove `depends_on :x11` and replace it with e.g. `depends_on "libx11"` and any additional X libraries
- [x] Update `/opt/X11` or `MacOS::XQuartz` references to instead point them to the brewed formula paths
- [x] `revision` bump
- [x] `brew install -s FORMULA` and `brew linkage FORMULA` to check that it's now linking against brewed X and not XQuartz

-----

Before:

    ❯ brew linkage wmctrl
    System libraries:
      /opt/X11/lib/libICE.6.dylib
      /opt/X11/lib/libSM.6.dylib
      /opt/X11/lib/libX11.6.dylib
      /opt/X11/lib/libXmu.6.dylib
      /usr/lib/libSystem.B.dylib
    Homebrew libraries:
      /usr/local/opt/gettext/lib/libintl.8.dylib (gettext)
      /usr/local/opt/glib/lib/libglib-2.0.0.dylib (glib)

After:

    ❯ brew linkage wmctrl
    System libraries:
      /usr/lib/libSystem.B.dylib
    Homebrew libraries:
      /usr/local/opt/gettext/lib/libintl.8.dylib (gettext)
      /usr/local/opt/glib/lib/libglib-2.0.0.dylib (glib)
      /usr/local/opt/libice/lib/libICE.6.dylib (libice)
      /usr/local/opt/libsm/lib/libSM.6.dylib (libsm)
      /usr/local/opt/libx11/lib/libX11.6.dylib (libx11)
      /usr/local/opt/libxmu/lib/libXmu.6.dylib (libxmu)

Closes #64581.

Signed-off-by: Jonathan Chang <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@jonathanchang.org>
Signed-off-by: BrewTestBot <8a898ee6867e4f2028e63d2a6319b2224641c06c@users.noreply.github.com>

makigumo/homebrew-core,dsXLII/homebrew-core,Linuxbrew/homebrew-core,nbari/homebrew-core,adam-moss/homebrew-core,nbari/homebrew-core,lemzwerg/homebrew-core,spaam/homebrew-core,adam-moss/homebrew-core,spaam/homebrew-core,Linuxbrew/homebrew-core,nandub/homebrew-core,uyjulian/homebrew-core,Homebrew/homebrew-core,mbcoguno/homebrew-core,stgraber/homebrew-core,Moisan/homebrew-core,filcab/homebrew-core,sjackman/homebrew-core,dsXLII/homebrew-core,mbcoguno/homebrew-core,mfikes/homebrew-core,sjackman/homebrew-core,uyjulian/homebrew-core,Moisan/homebrew-core,nandub/homebrew-core,lemzwerg/homebrew-core,chrisfinazzo/homebrew-core,stgraber/homebrew-core,filcab/homebrew-core,Homebrew/homebrew-core,mbcoguno/homebrew-core,zyedidia/homebrew-core,JCount/homebrew-core,cblecker/homebrew-core,makigumo/homebrew-core,zyedidia/homebrew-core,cblecker/homebrew-core,mfikes/homebrew-core,JCount/homebrew-core,chrisfinazzo/homebrew-core