Photometric metal abundances of high-luminosity red stars in young and intermediate-age open clusters