Use python optimise mode for Sphinx builds

Faster, and prevents autodoc invoking __debug__ code in package code.