Hayden Panettiere said she ‘had the most motherly moment’ when she almost died during childbirth