ABC was struggling to find hits in 2004 when it introduced two of them: “Desperate Housewives,” a new take on a primetime soap opera, and “Lost,”...