Welcome to MSE!
Hint:
Notice each level of your tree sums of to $n$ much work:
- your top level has size $n$
- your second level has size $n/3 + 2n/3 = n$
- your third level has size $n/9 + 2n/9 + 2n/9 + 4n/9 = n$
- can you show (by induction, say) that this always works?
The issue, of course, is that you're traversing this tree at different rates. So the $n/3$ branches are going to die off faster than the $2n/3$ branches because you're descending the tree more quickly. This makes the analysis look really hard, because near the bottom of the tree, we won't sum to $n$. Some of the terms we need to get to a sum of $n$ will have died already.
The trick is to notice that we don't care. We want a big $O$ bound. So let's find out what the maximal length could possibly be, and then assume everything survives that long. This will give us the upper bound we want.
It's clear that the "rightmost" path, that is, the one that always scales by $2/3$ is going to take the longest time getting to $1$. Can you see how many levels this branch of the tree will have?
If $\ell(n)$ is the number of levels in this branch (which is an upper bound for the number of levels of every branch), we'll have:
$$
T(n) \leq \sum_{l \leq \ell(n)} O(n) = O \left ( n \cdot \ell(n) \right )
$$
I hope this helps ^_^