clutter: Avoid string translation to find text direction
Use Pango and Harfbuzz for the task, getting the default language, then its scripts, then their directions. We pick the first valid horizontal direction, resorting to LTR as a fallback.
Related: gtk!5385 (merged)