A triple-star system with a misaligned and warped circumstellar disk shaped by disk tearing