Metaplectic representation on Wiener amalgam spaces and applications to the Schrödinger equation