From that photo, it’s not possible to accurately determine that there is no mold or dirt. Whether such dispenser is worse than bathroom shower-heads — especially ones with plastic on or around the nozzles/shower-heads — is a point to consider, whether it’s at a Four Points or at a St Regis/Luxury Collection.
About the notion that luxury hotels should be contributing less per guest to “save the world” measures than more mass market hotels, that just seems to be the kind of thing that deserves to be awarded a prize in hypocrisy and recognized as a travel-related version of NIMBY attitudes.