The Israeli government said it had detained activists onboard boats trying to take humanitarian goods to the enclave.