In-form Jonny Bairstow reached 50 on the fifth day of the third Test against New Zealand - England's second-fastest half-century.