Tribes file lawsuit to protect water rights