DEV: Allow `Discourse::Utils.execute_command` timeout with `env` (PR #12672)

Followup to 5deda5ef3ef8763dfe936a313e0dddaa279a1b04

The first argument to Open3.capture3 can be an environment variable hash. In this case, we need to insert the timeout command after the env hash.

GitHub