Engine compatibility validity API implementation (#26774)
Added support for engine validation check for EP Context models.
### Motivation and Context
We wanted to implement the GetModelCompatibilityForEpDevices() API
support and thus have an end user available API for the engine
validation check for EP context models. Added this support and the
necessary function implementation