The ‘Cougar Town’ star quietly faced a frightening diagnosis for months. Here’s what doctors found, and how she’s doing now.