Ministers are under pressure to decarbonise the transport sector but a farming boss has warned that should not risk UK food security.