Williamson century in vain, Woakes gives England 2-1 lead