The country once seen as a climate trailblazer is in danger of becoming a laggard, as the party almost certain to lead the next government is on a mission to dilute environmental targets.