fix: reject batch requests when JSONL serialization fails
Fixes #58.
Batch JSONL serialization now runs inside the submission failure handler. If a payload cannot be serialized, every request removed from that queue receives the original error and the existing batch_submission_failed event is emitted. No file is uploaded.
Four regression cases cover nonserializable values and circular dictionaries through direct submission and the window timer. All four fail on the unmodified baseline. TypeScript already catches JSON construction errors in its flush handler.
Validation: complete Python suite and ty check; TypeScript's 57 tests, typecheck and build; git diff --check. All tests use mocked upstream resources or local proxy servers.
The unchanged fork CI matrix passes all four jobs for head bfa8c9f45b45f441249f521dc9716c4a57f7262e: Python 3.12 with latest/minimum 2.0.0 SDKs, and TypeScript with locked/minimum 4.104.0 SDKs. Upstream CI is awaiting maintainer approval (action_required).