This assumes you win if you get both $7$ and $11$ before the two $9$s. Some people seem to be reading as if you win if you get one of these. I also assume the two $9$s do not need to be consecutive.
We can ignore the rolls that are not $7,9,11.$ The next roll in $7,9,11$ has probability $3/10,2/5,3/10,$ respectively.
Let the states of a Markov process bet $s_1,\dots,s_6$ with
- $s_1$ be the state where no $7,9,11$ has occurred.
- $s_2$ has gotten one $9$ and no $7,11.$
- $s_3$ has gotten one of $7,11$ and no $9$
- $s_4$ has gotten one of $7,11$ and one $9$
- $s_5$ has gotten two $9$s first
- $s_6$ has gotten $7,11$ first.
Then the Markov chain’s transition matrix is:
$$T=\begin{pmatrix}
0&2/5&3/5&0&0&0\\
0&0&0&3/5&2/5&0\\
0&0&3/10&2/5&0&3/10\\
0&0&0&3/10&2/5&3/10\\
0&0&0&0&1&0\\
0&0&0&0&0&1
\end{pmatrix}$$
I used Wolfram Alpha to get that:
$$\lim_{n \to\infty}(1,0,0,0,0,0)T^n =\left(0,0,0,0,\frac{604}{1225},\frac{621}{1225}\right)$$
So the probability of winning is $\frac{621}{1225}\approx 0.507.$
You can avoid the Markov chain if you let $p_i$ be the probability of
winning starting at state $s_i.$ Then you get the equations:
$$\begin{align}p_1&=\frac{2}{5}p_2+\frac35p_3\\
p_2&=\frac35p_4+\frac25p_5\\
p_3&=\frac3{10}p_3+\frac25p_4+\frac3{10}p_6\\
p_4&=\frac3{10}p_4+\frac25p_5+\frac3{10}p_6\\
p_5&=0\\
p_6&=1
\end{align}$$
Solving for $p_1$ gives you your answer. This can be done by hand:
- $\frac7{10}p_4=\frac3{10}$ give $p_4=\frac37.$
- $\frac7{10}p_3=\frac25\cdot \frac37+\frac3{10}$ gives $p_3=\frac{33}{49}.$
- $p_2=\frac35\cdot\frac37=\frac9{35}.$
- $p_1=\frac25\cdot \frac9{35}+\frac35\frac{33}{49}=\frac{18}{5^2\cdot 7}+\frac{99}{5\cdot 7^2}=\frac{621}{1225}$
Getting the same results.