Barbora Zahlavova-Strycova produced a stunning comeback to claim her first WTA title at the Bell Challenge in Quebec.