Detection of an ultraviolet and visible counterpart of the NGC 6624 X-ray burster