Stubborn Latham keeps New Zealand afloat