We can do as in your answer in the linked thread.
Consider three consecutive throws. If they are all distinct, the probability that the next throw is a win is 1/4. Otherwise, we get another sequence of three consecutive throws, and we can try again.
At first, I'll consider the Markov chain whose state space is the set of sequences of three consecutive throws, plus a dummy state $\partial$ (corresponding to a win), and transitions correspond to deleting the first throw and adding a third throw (or winning).
For instance, $(1,2,3)$ can transition to $(2,3,1)$, $(2,3,2)$, $(2,3,3)$ or $\partial$, with probability $1/4$ each.
Now, let's do better. Since the specific throws do not matter ($(1,2,3)$ is as good as $(2,3,1)$), what matters is the number of distinct throws, and their order. We can thus factorize the Markov chain. Let's reduce the state space to:
$$\Sigma = \{(a,a,a), (a,a,b), (a,b,a), (b,a,a),(a,b,c), \partial\},$$
where for instance $(a,a,b)$ corresponds to $(1,1,2)$, $(1,1,3)$, $(1,1,4)$, $(2,1,1)$, etc. The transition matrix for the corresponding Markov chain is:
$$A := \left( \begin{array}{cccccc} 1/4 & 3/4 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1/4 & 1/4 & 1/2 & 0 \\ 0 & 0 & 1/4 & 1/4 & 1/2 & 0 \\ 1/4 & 3/4 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1/4 & 1/4 & 1/4 & 1/4 \\ 0 & 0 & 0 & 0 & 0 & 1 \end{array}\right)$$
Note that $\partial$ is an absorbing state: once we have won, we stay at the state "won".
Finally, let us begin the game. After the first three throws, we get a random state in $\Sigma$. Its probability distribution is $u := (1, 3, 3, 3, 6, 0)/16$. Hence, the probability distribution at time $n$ is:
$$uA^{n-3},$$
and the probability that we have won at time $\leq n$ is the probability that we land in the absorbing state $\partial$, that is,
$$(uA^{n-3})_6.$$
Now, you can just input everything into your favorite software, let it compute $(uA^{n-3})_6$ explicitely or approximately, and check when it is at least $1/2$.