Parse the version from typst --version.
typst --version
The raw typst --version output, e.g. typst 0.15.1 (...).
typst 0.15.1 (...)
The semantic version, or null if it cannot be parsed.
null
Parse the version from
typst --version.