Nuclear quantum effects on the dynamics and glass behavior of a monatomic liquid with two liquid states