Let $X_t = \text{How far away the drunkard is from the origin after } t \text{ steps}$; $X_t$ is a random variable.
We're interested in $t$, as
$$\Bbb{P}(|X_t| \ge 3 ) = 0.95$$
Which is the probability of the drunkard being at least $3$ meters away from the origin, after $t$ steps. (Which we know is $95\%$.)
So we need to find the distribution of $X_t$ for $t \in \{1,2,3,\dots\}$.
Since $X_t$ is gotten through $t$ steps that are exactly alike, it makes sense to introduce another notation:
$$X_t = M_1 + M_2 + M_3, + \dots + M_t$$
where $\forall i \in \{1,2,\dots,t\} \ \ M_i $ are random (left or right) movements, a.k.a. random variables with distribution
$$M_i = \begin{cases}+1 \text{ with probablity } \frac{1}{2} \\[2ex] -1 \text{ with probablity } \frac{1}{2}\end{cases}$$
So $M_i \sim 2\ \text{Bernoulli}\left(\frac{1}{2}\right)-1$
Note: Regular $\text{Bernoulli}\left(\frac{1}{2}\right)$ is $\begin{cases}1 \text{ with probablity } \frac{1}{2} \\ 0 \text{ with probablity } \frac{1}{2}\end{cases}$, so multiplying it with $2$ and subtracting $1$ transforms it into the type of variable we're looking for.
We can find a pattern and prove it by induction:
$$\begin{align}M_1 + M_2 &= \begin{cases}2 \text{ with probability } \frac{1}{4} \\[2ex] 0 \text{ with probability } \frac{1}{2} = \frac{2}{4} \\[2ex] -2 \text{ with probability } \frac{1}{4}\end{cases} \\[2ex]
M_1 + M_2 + M_3 &= \begin{cases}3 \text{ with probability } \frac{1}{8} \\[2ex] 1 \text{ with probability } \frac{1}{2}\cdot\frac{1}{4} + \frac{1}{2}\cdot\frac{1}{4} = \frac{3}{8} \\[2ex] -1 \text{ with probability } \frac{3}{8} \\[2ex] -3 \text{ with probability } \frac{1}{8}\end{cases} \\[2ex]
M_1 + M_2 + M_3 + M_4 &= \begin{cases}4 \text{ with probability } \frac{1}{16} \\[2ex] 2 \text{ with probability } \frac{1}{2}\cdot\frac{3}{8}+\frac{1}{2}\cdot\frac{1}{8} = \frac{4}{16} \\[2ex] 0 \text{ with probability } \frac{1}{2}\cdot\frac{3}{8}+\frac{1}{2}\cdot\frac{3}{8} = \frac{6}{16} \\[2ex] -2 \text{ with probability } \frac{4}{16} \\[2ex] -4 \text{ with probability } \frac{1}{16} \end{cases} \\[2ex]
&\quad \vdots \\[2ex]
\sum_{i=1}^t M_i &= t-2j \text{ with probability } \frac{\binom{t}{j}}{2^t} \quad \forall j \in \{0,1,\dots,t\}\\[2ex]
\end{align}$$
Or
$$\Bbb{P}(X_t = t-2j) = \Bbb{P}\left(\sum_{i=1}^t M_i = t-2j\right) = \frac{\binom{t}{j}}{2^t}, \quad \forall j \in \{0,1,\dots,t\}$$
Which isn't very suprising, since the sum of $\text{Bernoulli}$ variables has $\text{Binomial}$ distribution. We just had to slightly modify the $\text{Binomial}$ distribution, since we had $2 \text{Bernoulli} -1 $ instead of $\text{Bernoulli}$.
The proof is very simple, it works for $t=1$:
$$M_1 = \begin{cases}1 \text{ with probablity } \frac{\binom{1}{1}}{2^1} = \frac{1}{2} \\[2ex] 1-2 = -1 \text{ with probablity } \frac{\binom{1}{0}}{2^1} = \frac{1}{2}\end{cases}$$
Let's assume it works up until $t-1$ and prove for $t$:
$$\begin{align}&\Bbb{P}(M_1 + \dots + M_t = t-2j) = \\ = &\frac{1}{2}\Bbb{P}(M_1+\dots+M_{t-1} = (t-1)-2(j-1)) + \frac{1}{2}\Bbb{P}(M_1+\dots+M_{t-1} = (t-1)-2j) = \\ = &\frac{1}{2} \left(\frac{\binom{t-1}{j-1}+\binom{t-1}{j}}{2^{t-1}}\right) \stackrel{\text{Pascal-triangle rule}}{=} \frac{\binom{t}{j}}{2^t}\end{align}$$
So
$$\begin{align}\Bbb{P}(|X_t| \ge 3) &= 0.95 \\
\sum_{i=3}^\infty \Bbb{P}(X_t=i) + \sum_{i=3}^\infty \Bbb{P}(X_t=-i) &= 0.95 \\
\Bbb{P}(X_t=2) + \Bbb{P}(X_t=1) + \Bbb{P}(X_t=0) + \Bbb{P}(X_t=-1)+ \Bbb{P}(X_t=-2) &= 0.05 \\[1ex]
2\Bbb{P}(X_t=2) + 2\Bbb{P}(X_t=1) + \Bbb{P}(X_t=0) &= 0.05 \\
\end{align}$$
Since $j$ has to be in $j \in \{0,1,\dots,t\}$, and $t$ has to be odd (since as we saw earlier, you can only get to an odd value in odd number of steps), this eliminates a couple options:
$$0 = t-2j \rightarrow j = \frac{t}{2} \rightarrow j \notin \{0,1,\dots,t\}$$
$$1 = t-2j \rightarrow j = \frac{t-1}{2} \rightarrow j \in \{0,1,\dots,t\}$$
$$2 = t-2j \rightarrow j = \frac{t-2}{2} \rightarrow j \notin \{0,1,\dots,t\}$$
This simplifies the above equation to
$$\begin{align}
2\Bbb{P}(X_t=1) &= 0.05 \\
\frac{\binom{t}{\frac{t-1}{2}}}{2^t} &= 0.025 \\
\end{align}$$
We can solve this in Wolfram Alpha, but we unfortunately get no $t > 0$ solution, which means the probability of the drunkard travelling at least $3$ meters can never go above $95\%$.
This is easy to see, since for the equivalent equation
$$\begin{align}
\binom{t}{\frac{t-1}{2}} &= 2^t \cdot 0.025 \\
\end{align}$$
The left side is approximately
$$\begin{align}
\binom{t}{\frac{t-1}{2}} &\approx \binom{t}{\frac{t}{2}} = \frac{t!}{\left(\frac{t}{2}\right)!^2}\\
\end{align}$$
Which has a lower bound for $t \ge 0$
$$\begin{align}
\frac{t!}{\left(\frac{t}{2}\right)!^2} \ge 1
\end{align}$$
And then grows more rapidly than $2^t \cdot 0.025$.
However, with different inputs, like $5$ meters instead of $3$, or a different probability than $0.95$, we can likely find a solution, since the above approximation won't be accurate - meaning the left and right sides can actually meet.