Add isValidVirtualDeviceId api to VDM

Remove equivalent method from LocalService and use
this one instead.

Also update ContextImpl to use the API

Bug: 263355088
Test: atest VirtualDeviceManagerServiceTest
Change-Id: Ic2721d5104cbaa2ddaa6b51e8a4734fc0606c1c2
8 files changed