BenjaLim's answer is great and constitutes a direct proof of the claim in which you're interested (+1). An alternate way of looking at it is via direct limits as Brad suggests. On the one hand, $O_{X,x}=\lim_{x\in V} O(V)$ and on the other hand, $O_{U,x}=\lim_{x\in V\subseteq U} O(V)$. Can you use the universal property of direct limits to construct inverse maps $O_{X,x}\to O_{U,x}$ and $O_{U,x}\to O_{X,x}$? Hint: You've got a natural (in $V$) family of maps $O(V)\to O(U\cap V)$ for $V\ni x$ that defines $O_{X,x}\to O_{U,x}$ and conversely (the easy part, I suppose!), you've got a natural family of maps $O(V)\to O(V)$ for $U\supseteq V\ni x$ that defines $O_{U,x}\to O_{X,x}$.
Alternatively, if you're familiar with the basic theory of direct limits, just note that the index set for the direct limit defining $O_{U,x}$ is cofinal in the index set for the direct limit defining $O_{X,x}$ (according to the definitions I've given above). The proof of this is equivalent to the one suggested in the first paragraph if you unwind the logic. I'm happy to provide you with relevant definitions/more details if you'd like!
I hope this helps!