Avoid freeze in Windows API Level 0 and 1 console when UIA support is enabled (#14703)
Fixes #14689
Summary of the issue:
Due to a bug in API Level 0 and 1 consoles (see microsoft/terminal/#5243), sometimes NVDA freezes during dictionary processing of console text, containing a huge amount of blank lines.
Description of user facing changes
None.
Description of development approach
If current focus object has apiLevel 0 or 1, and difference between regular text and text with rightside blank lines stripped is greater than 100, we use cleaned text for dictionary processing.