Photosensitiser is activated by enzyme linked to resistance, making bacteria vulnerable to light therapy