We already handle SIGINT to cancel operations. This PR additionally
handles SIGTERM the same way. This is useful when the Pulumi CL is used
in a docker container, where a stop command sends a SIGTERM. Previously
this would immediately terminate the CLI.
Fixes https://github.com/pulumi/pulumi/issues/17256