Note that $q^{-1}(q(U))=U$, for if $u\in q^{-1}(q(U))$ then $q(u)=q(u')$ for some $u'\in U$.
Hence $u$ and $u'$ live in the same connected component $C=q^{-1}(\{u\})\subseteq q^{-1}(M)$.
Since $C=(C\cap U)\cup(C\cap V)$ and $C\cap U\neq\emptyset$, it follows $C\cap V=\emptyset$, thus $C\subseteq U$.
Consequently $M=q(U)\cup q(V)$ and $q(U)$, $q(V)$ are nonempty, open, disjoint subsets of $M$.
This is too long to be a comment and is currently only a partial answer.
Following the idea that the existence of an open, totally disconnected set should relate to the connectedness of the space, I read about ways a space can be connected. A locally connected space is one where every point in a open set has a connected, open neighborhood and felt most relevant. I wasn't able to show that being locally connected was a sufficient condition for the lack of an open, totally disconnected set. So, I ended up adding connected back as a requirement (and T1 ended up being helpful during the proof) which led to,
Let $(X,\tau)$ be a locally connected, connected, T1 space that is not the topology on a one point set. Then, $(X, \tau)$ is not weakly disconnected.
Proof:
The proof strategy will be to use proof by contrapositive. Let $(X, \tau)$ be a weakly disconnected space. Let $U$ be an open, non-empty totally disconnected set. Let $(U, \tau_{U})$ be the subspace topology of $U$. As $U$ is totally disconnected and non-empty, its connected components are singletons.
Here, we'll split the proof into two cases. Either all of its connected components are open or they there exists a connected component that is not open.
If there exists a connected component that is not open then its connected components are not all open which means it is not locally connected. As locally connected is hereditary for open subspaces, $(X,\tau)$, can not be locally connected.
If there exists a connected component that is open, call that component $A$. As $U$ is totally disconnected, $A$ must be a singleton. Since $U$ is open, any open set in $U$ is also open in $X$. This means $A$ is an open singleton in $X$. As $X$ is a T1 space, singletons are closed making $A$ a clopen set. Since $X$ is not a one point set, $A$ is non-trivial clopen set. This means $(X,\tau)$ is not connected.
In either case, $(X, \tau)$ can not have the three properties of being locally connected, connected, and T1. This completes the proof.
The issue is I'm not sure if those three properties are a necessary condition, so I still lack a nice way of describing all spaces that lack an open, totally disconnected set. While my current proof strategy uses the fact the space is T1, I'm skeptical that there isn't an alternate way to drop that condition.
Best Answer
No you're not missing any important result, everything is already there. Let $G$ be such that $G-\{1\}$ is totally disconnected, but not $G$.
1) any proper subset $X$ of $G$ has a translate $g^{-1}X$ with $1\notin g^{-1}X$ (just choose $g\notin X$), so $g^{-1}X\subset G-\{1\}$ is totally disconnected, and hence so is $X$. If $G$ is not connected, this applies to the connected component of $\{1\}$. Hence $G$ is connected.
2) I don't know your "Chapter 5" says, but the reasoning is as follows: assume that $|G|\ge 3$, so $G-\{1\}$ is totally disconnected of cardinal $\ge 2$ and hence has a partition into two open subsets $A,B$. Since $B$ is open, its complement $A'=A\cup\{1\}$ is closed. Suppose by contradiction that $A'$ is not connected: then $A'=C\sqcup D$ with $C,D$ disjoint nonempty, closed in $A$, and $1\in C$. So both $C,D$ are closed in $G$. Hence $G$ is the disjoint union of nonempty closed subsets $B\cup C$ and $D$, contradiction since $G$ is connected. Hence, both $A'$ and $B'=B\cup\{1\}$ are connected.
3) Applying (1) to $A'$ and $B'$ (which are proper subsets of $G$), we deduce that $A'$, $B'$ are singletons, and reach a contradiction (when $|G|\ge 3$).
4) It remains to consider $|G|\le 2$ (for which (2) doesn't apply). Since $G$ is not totally disconnected, we have $|G|=2$, and since $G$ is connected, $G$ has the indiscrete topology. This is a counterexample (the only one!) to your theorem.