gh-36391: checking that the system maxima has working help
This is needed for e.g. building Sage docs, cf
e.g. Sage's #36028. Some distos mix this up.
Fixes #36028
URL: https://github.com/sagemath/sage/pull/36391
Reported by: Dima Pasechnik
Reviewer(s): Matthias Köppe