The UTI is just a coincidence. UTIs in women often are associated with sex, but not because of sexual transmission of bacteria from the partner. Instead, sex can 'massage' vaginal area bacteria into the urinary opening. If E. coli or similar organisms are present, UTI can result. If her provider diagnosed a typical UTI, there is no reason to suspect STD. Azithromycin is not active against trichomonas, but you can't catch trich by oral sex, or chlamydia for that matter (the main STD for which azithromycin in prescribed). However, the dose you received would effectively prevent the rare case of chlamydia or of nongonococcal urethritis (NGU), which can be caused by normal oral bacteria.
Bottom line: There are no significant STD worries here.
Best wishes-- HHH, MD