Run mypy type checking with the minimum supported Python version to catch new usage that isn't backwards-compatible.