On the eve of his retirement, the federal judge who reshaped the state’s prison system and the Oakland Police Department speaks on his role in the civil rights movement and the future of justice in the Trump era.