Capture a PNG of the host app’s window. Accepts an optional
window_id (returned by WINDOWS) so multi-window desktop
apps can pick a specific surface; mobile platforms ignore it
since they have a single foreground window. Returns a JSON
envelope {format, size_bytes, data_base64}.