The proposal would leverage new state mandates to gain federal training and funding for screening jail detainees’ immigration status.