The problem you envision is typically avoided by one of two methods: either the seatpost is a larger diameter than found on non-folders, or the wall thickness of the seatpost is greater. No need to go to steel.
As far as stress cracks in the frame near the top of the seat tube, it is not unheard of on some bikes.