[NPU] Refactoring getGraphDescriptor by setting the flags inside it (#32449)
### Details:
- *Small refactoring by setting the compilation flags in the
ze_graph_ext_wrappers*
- *Skip tests that aren't available on different platforms*
---------
Signed-off-by: Bogdan Pereanu <bogdan.pereanu@intel.com>