Error-detected three-photon hyperparallel Toffoli gate with state-selective reflection