Meg Ryan shares the ‘real gift’ that came out of her divorce