Use VulkanBackendContext setting to initialize VulkanCaps' protectedness

This also aligns Ganesh & Graphite's parameter order a bit.

We only want Contexts intentionally created w/ Protected support to be able to create Protected objects.

Bug: b/237108194
Change-Id: Ica7eaa7c4e5d87a8eb33ed40adb557c4a26de7d9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/777040
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Nicolette Prevost <nicolettep@google.com>
4 files changed