In any case, I suspect that defining \pdfoutput is a risky strategy,
I agree. Till, can you change that? (Not urgent.)
In the meantime, I suggest that in TeX Live, we add a hyperref.cfg
file to the texmf-dist/tex/xelatex/xetexconfig/ directory,
Please do.
Glad you noticed.
Thanks,
Karl