Add build.py `--targets` option to specify multiple targets. Update existing list-valued options to use argparse "extend" action. (#25718)
### Description
<!-- Describe your changes. -->
- Add build.py `--targets` option to specify multiple targets.
- Update existing list-valued options to use argparse "extend" action.
Unlike "append", "extend" won't create nested lists.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Allow multiple targets to be specified. Use newer argparse feature to
simplify option handling.