superenv: favor /opt/X11 over /usr/X11 when both exist

This is the order of precedence used elsewhere in Homebrew when
detecting X11 versions and prefixes.

Fixes #16598.