add LogCompileModel to mark the session usage (#26646)
### Description
<!-- Describe your changes. -->
add LogCompileModel to mark the session usage as Compile because that
session will not be used for inference
We could also use it to log compile model parameters if needed
### 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. -->
We are building a profiling tool for WinML and we want to differentiate
Compile session and inference session.
I think there are two ways to do it but I don't know which is better
https://github.com/microsoft/onnxruntime/pull/26646
https://github.com/microsoft/onnxruntime/pull/26647
---------
Co-authored-by: hualxie <hualxie@microsoft.com>