Human seizures self-terminate across spatial scales via a critical transition