Alicia Vikander faced a ‘struggle’ to get pregnant