Two-time Wimbledon champion Petra Kvitova wins her first match since the birth of her first child, then says she had been close to quitting tennis.