window: Set selected flag for row only if not folded

When chatty loads, the first item is automatically selected from
the list of connected chats.  But this should be highlighted only
if the window is in unfolded mode.
7 jobs for wip/sadiq/fix-hightlight in 10 minutes and 51 seconds (queued for 3 seconds)