fix(line): per-gesture alpha works in both preview and bake
- Add setBufferAlpha() to $paintApiUnwrapped — scales all non-transparent
pixels in a buffer to a uniform alpha. Deferred via the layer system so
it runs AFTER wipe/ink/line commands during flush.
- paint() draws stroke opaque, then calls setBufferAlpha for the preview.
- strokeToBake adds a synchronous safety-net scale before paste, since the
previous frame's flush guarantees the buffer has the drawn content by
bake time. Idempotent: setting alpha to the same value is a no-op.
Fixes per-gesture alpha being incorrect or missing in the bake while the
preview looked right (or vice versa).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>