It really is not an SUV. Secret: The Outback, Legacy, and Forrester all are on the same platform now as they are all redesigned and share the same one. My parents last car was the Forrester but they moved to the Outback as they all got bigger when they went for a new car (last car was a 2003 and 2004 Forrester, they now own a 2015 and 2016 Outback).
According to the NHTSA the Outback and Forrester share the same rollover rating - 4 stars not 5. The Legacy get a 5. The reason is the height of the suspension. The legacy is lower to the ground (6.5 inches) to the outback and forrester (8.5 inches). Four is not good as five, but it is not unsafe. It depends on what you want - and you want a wagon.
I am guessing the Buick TourX will get a 5 as it is closer to the ground like the Legacy, but it has not been tested yet. The VW Alltrack gets four stars as well (higher off the ground).
The problem you are going to run into is there are not really any top notch reliable wagons anymore. I would say the Toyota Matrix/Pontiac Vibe which both can make it to 250,000 because they are Toyota powertrains - but they were discontinued in 2013 and still only get four stars on the NHTSA rollover. Some feel they are underpowered but they are very durable and come with AWD.
The biggest issue is the SUV craze - it has essentially put the offerings on wagons few and far inbetween. Most are just luxury models now, but Subaru and Buick offer relatively reasonably priced options. The most durable by far is those older Toyota Matrix and Pontiac Vibes, but you will have to go back 5 years to get those. After that you only have the Subaru and Buick with any chance of reliablity. You are probably right, the reliablity may have declined some since your Legacy wagon - but the problem is, there are not many options unless I am forgetting something besides the two listed.
I ran into the same issue when my about 12 year old Saab 9-3 with 180,000 on it had a tree fall on it. I did not really like any of the wagon options, so I caved in and bought a Buick Envision (2018) at a huge discount because GM launched a revised model in April 2018 (2019 model) right when this happened. So I bought to my shock a Buick SUV for $17,000 off for about $34,000 loaded instead of $52,000 list. I figure even if I have issues after 150,000 miles with that immense savings, it will take a lot of repairs to make up that price savings. It also drives pretty well and gets almost the gas mileage of the old Saab and I needed AWD as well. I live on a mountain now and the FWD cars with snow tires cannot get up it so for the last 9 years that car could not be driven if it snowed much at all when I moved to CT.