Hello, this is Jim, a dual-qualified lawyer (UK & Republic of Ireland) and happy to help you today.
Earnings are considered by the court in disputed financial remedy cases (during divorce proceedings). So it goes in your favour as far as the property is concerned if she earns more. But the children are prioritised by the court. One option would be she lives in the property until your 2 year old reaches 18. This may be an outcome if she couldn't afford to live elsewhere. If she buys you out, you get money depending on the percentage split you can agree or the court orders. The starting point is 50% for a split but the court can award a different sum depending on the factors such as earnings, jobs, standard of living, time lived together and married, any children, any debts, contributions to the property, etc.
If she cannot buy you out, she could agree to a sale. Or you could sell your share to someone else. When you divorce yes, you would need to move out - unless the court orders otherwise but it would be odd to live there after divorce. The more you can agree with her now the better - court action should be a last resort and bear in mind the situation with the children, above.
I hope this helps? If I have answered the question would you kindly leave me a 5 star rating (at the top of your screen), any follow up questions are welcomed.