I think the owner said it has been flown around 50-60 hours since he bought it 2 years ago, and it has been hangared since at least then. It has less than 1000 hours TTAF. Both of these seem to indicate it has pretty much been a hangar queen, which apparently is especially bad for the H2AD.
No, you are mixing issues and making some incorrect assumptions due to reading incomplete advice.
First off, what climate is it in? Coastal v Desert is a huge difference.
Keeping a plane in a hangar is a good thing, 1000hrs TTAF is a very good thing, also a 2 year old FRM will have a roller cam upgrade, not the same engine you are reading about. 50-60 in 2 years is low, but certainly enough that with proper general care the engine could be just fine.
Number and words are just that, data. Not until you combine the data with inspected condition though does that data become meaningful.
When I'm looking for planes for people, the ones that have Ben hangared all their lives go to the top of the list to inspect, because experience tells me they will be in much better condition.
Here's the main thing though, you are putting too much value on the engine. The engine is the last consideration because engine upgrades carry the highest residual value at sale.
What you are looking for is a clean airframe. Airframe repairs are expensive and extremely time consuming. Planes being down over a year for them is common. If I found a clean 172 airframe with a H2AD on it, I wouldn't walk away. I would look at the overall condition of the engine and if it was running well I wouldn't be particularly concerned, and would buy a spare mag when a deal came around to have on hand.
If it was not running well, I'd look at what the Penn Yann 180hp ones are selling for and try to bargain accordingly to making that upgrade. (IOW, I'm not going to try to knock the price of the upgrade from their asking, rather take the price of the upgrade off an upgraded comp to determine my offer).
Airframe is paramount also because any airframe repairs in the logs detract from market value.
Find clean airframes, out of those choose the one with the avionics you want, and bid it with regards to the engine it has. Engines are quick and cheap to replace. If you prearrange it, it can be done in a week, and it adds nearly dollar for dollar the engine cost (you lose labor) to the value of the plane which prorated down to 75% TBO where it maintains a 'Core Value' regardless of hours.