The mainline Protestants ARE VALIDLY BAPTIZED!!!!! And they are recognized by the Catholic Church as Christians.  Furthermore, the Catholic Church, at Vatican II recognized that Catholics, Protestants and Orthodox comprise the Church, not just Catholics only.

Lumen Gentium, 14.