Calibrating the Cepheid perio-luminosity relation from the infrared surface brightness technique: II The effect of metallicity and the distance to the LMC uri icon