Boolean Comparison > Visibility - Point Visible To Player. In GUI, you do not have proper means to create texttags for single players. However, you can limit the visibility via Floating Text - Show/Hide.
Iterate over your players, check their visibility of the unit, add them to a player group as appropriate, use the player group in the Show/Hide-action.