High-velocity stars from close interaction of a globular cluster and a supermassive black hole