New Zealand will ask international travellers from most countries to show negative COVID-19 test results before boarding flights to the country.