Confinement and deconfinement of spinons in a frustrated spin-1/2 Heisenberg model