Make Nuget package pipeline 1ES compliant (#23803)
### Description
Make[Nuget
Publishing](https://dev.azure.com/aiinfra/Lotus/_build?definitionId=1313&_a=summary)
1ES compliant
### 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. -->