Add `ShouldConvertDataLayoutForOp()` API to allow EPs to customize layout sensitive ops (#25147)
### Description
<!-- Describe your changes. -->
Add `IExecutionProvider::ShouldConvertDataLayoutForOp()` to allow EPs to
customize layout sensitive ops. Move existing hardcoded EP-specific
logic out of layout transformer code.
Add `OrtEp::ShouldConvertDataLayoutForOp` to ABI EP API to allow similar
customization by plugin EPs.
### 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. -->
Enable layout sensitive op customization through internal EP interface
and the ABI EP API.