As a point, it was basically aircraft and later guided missiles that rendered the battleship obsolete, not the torpedo. Those, and the small ships that delivered them had been around since the late 19th century, and submarines had been around since WW1. Neither had the battleship killing effect that was hoped for.
Since you mention wood, I assume you're projecting this assertion back into the age of sail? Because that is definitely NOT correct, and a suspect analogy for space combat in any case (Unless you're a rabid David Weber fan...)
I'd not be so confident that point defence in space can be a total shield. You get into ECM/ECCM territory and for every tech argument you postulate for it, a tech argument can be postulated against it.
The key questions are: can Space Armour be made invulnerable to Space Guns on any reasonable ship design? And what are the costs of the big ships?
As to the age of wooden ships and iron men....my point was that a a 32 gun frigate with 26 x 12 pdrs and 6 x6 pdrs had no chance against a 1st class SOL like HMS Victory with 30 x 32 pdrs, lb, 28 x 24 pdrs, lb, 44 12 pdrs, plus carronades. A 32 pdr had twice the range of a 12 pdr gun... the frigate was out gunned 3 to 1 and out ranged 2 to 1. A frigate was 1/3 to 1/4 the tonnage and 1/3 to 1/4 the cost of a first rate SOL. I don't think 4 frigates would win against a 1st class SOL in battle. Maybe I should try in Empire Total war and see
I forgot to mention aircraft carriers and guided missiles...yes.. you are correct on the end of the battleship. It was large projectiles delivered with accuracy (torpedoes and bombs by airplanes ) that did end the battleship. Guided missiles are still a question...the Phalanx CIWS,
Sea Sparrow,
Sea Wolf or
Sea Viper, anti-aircraft guns, electronic warfare jamming, decoys, chaff, and flares.... are all close-in weapon systems for defense against anti-ship missiles. The same tech i assume will be in Stellaris rendering small missile armed ships and fighters unable successfully to attack a large ship with defensive close in weapons.
Now going in to the future world of Stellaris and space fiction...it seems to me that shields would be the end of large low velocity projectiles like missiles. A heavy shielded large spaceship would only be vulnerable to high energy weapons like beams or mass drivers or ultra-high yield hyper speed missiles…
It still seems that large ships would have much higher offensive and defensive capabilities when compared to a number of smaller ships that have the same cost as the one larger ship.