Detecting entanglement of quantum channels