pw_build: Pass capture_output to pw_python_action properly
pw_build: Pass capture_output to pw_python_action properly

When pw_exec() calls pw_python_action(), the "capture_output"
variable is not passed to pw_python_action() properly. It is
passed in script_args, but pw_python_action() will still check
invoker.capture_output explicitly, so it always do the default
thing: setting capture_output to true.

The fix is to pass capture_output to pw_python_action as expected.

Bug: 201335998
No-Docs-Update-Reason: This fixes an existing functionality already
documented.
Change-Id: I63800b082c35073886fcb8145bceb30c1f6a5b1f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/68092
Commit-Queue: Yicheng Li <77a205905d8955597c069555e9569c30512f6bd8@google.com>
Reviewed-by: Armando Montanez <97ef6fdb231c129ac8827d9f0c4106bfbf57f74f@google.com>

google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed