Time-optimal control of a dissipative qubit