Fix and optimize colored brackets for terminal multiplexer

- Fix: `LP_MARK_BRACKET_OPEN` was growing when `liquidprompt` was running inside `screen`.
- Optimization: do terminal multiplexer detection just once at startup: the terminal multiplexer is always a parent process and that can not change during the shell life.