fix: restore legacy schema gen for cog train/predict/serve (skipLabels path)
The skipLabels optimization (8b1c141d) skipped the entire post-build phase
including legacy schema generation. This broke cog train/predict/serve which
need the schema for -i flag parsing and input validation.
Move legacy schema gen above the skipLabels early return and add a minimal
second Docker build that bundles only the schema file (no labels, pip freeze,
or git info). Restore the sourceDir parameter on GenerateOpenAPISchema so
ExcludeSource builds can volume-mount the project directory for Python
introspection.
Re-enable the train_basic and training_setup integration tests that were
temporarily skipped.