England looked set to banish memories of their Ashes blowout in Perth as they traded blows with New Zealand on a frantic second day at Lord’s.