wt-status: correct and simplify check for detached HEAD