The Queensland government is considering stepping in to head off a legal challenge to one of Australia’s largest planned solar farms in the state’s northern sugar belt.