Well, uncanny dodge requires an attacker to hit you, so doesn't work with an breath weapon. Using anything with the name weapon as intended as action in combat is clearly an attack, so your invisibility is gone. Precisely the result which feels logical, so end of discussion at my table.
And no...