The suit targets a federal permit for Enbridge’s Line 5, which the tribe says puts treaty-protected resources at risk.