Puts every call to _getUIACacheablePropertyValue withinn UIA._get_states in a try block (#19713)
fixes #19646
Summary of the issue:
Braille stopped following focus randomly while using the copilot application. This was caused by _getUIACacheablePropertyValue rasing a COMError while called from UIA._get_states
Description of user facing changes:
Braille will now follow focus reliably in copilot
Description of developer facing changes:
None
Description of development approach:
A new method called _getUIACacheablePropertyValue_handlesCOMErrors has been added to the UIA class. This method is used exclusively in UIA._get_states