[py][vulkan] Add is_vulkan to py api, add vulkan to device type parsing (#46511)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46511
Test Plan: Imported from OSS
Reviewed By: AshkanAliabadi
Differential Revision: D24379422
Pulled By: IvanKobzarev
fbshipit-source-id: afab89bb9e17c50934083598262bbe14ea82e893