Steve Smith took a brilliant, diving catch to dismiss Tom Latham as Australia closed in on victory in the ICC World Cup over New Zealand.