Fix #11513: Don't always float navbar-text

`navbar-text` should only float when the navbar is expanded on larger
screens, otherwise the element might be (hidden) behind `navbar-nav`.

Fixes #11513.
X-Ref: #8820 #8815

/to @cvrebert @mdo 
/cc @Ahti