New Zealand has warned Australia that it may be in breach of trade rules, following the country's tax break for its wine growers.