[VitisAI] Fix OrtShapeInferContext for optional inputs (#26199)
### Description
When there is an optional input (empty input type) in the
OrtShapeInferContext construction, use undefined data type and empty
shape as a placeholder.
### Motivation and Context
VitisAI EP may add nodes with optional inputs during graph optimization
to meet the requirements of AMD AI compilers.
This fix may help other execution providers to improve the graph
optimization process.