[vulkan] Add synchronization to Adapter and Context (#80725)
Part of a refactor of the Vulkan codebase.
Differential Revision: [D37125679](https://our.internmc.facebook.com/intern/diff/D37125679/)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/80725
Approved by: https://github.com/kimishpatel