Issue #3592513: Render link text array before passing to Xss::filter()
Guards $link['text'] with is_array() and renders it via renderInIsolation() before passing to Xss::filter(), fixing the fatal TypeError on Drupal 11.4.x. Tested on 11.4.x / PHP 8.3.