The effects of metallicity, radiation field and dust extinction on the charge state of PAHs in diffuse clouds: implications for the DIB carrier