Indigenous communities have launched a legal challenge against a federal law that would fast-track resource development projects.