A long, hard summer for Venus Williams nearly turned into a premature autumn for a two-time United States