Schrödinger-type equations in Gelfand-Shilov spaces