Lew Klein, a Philadelphia television executive who was a producer of “American Bandstand” and founded the National Assn. of Television Program Executives, died Wednesday at his home near Philadelphia.