Existence of infinitely many solutions for semilinear degenerate Schrödinger equations