Random polymers via orthogonal Whittaker and symplectic Schur functions