Fifties from Latham and Phillips lifted New Zealand to a competitive score and Afghanistan never really got going in their chase