Colorado’s highest court is considering whether five zoo elephants can challenge their confinement under a legal process mainly used by prisoners to dispute their detention.