Giovanni Domenico Tiepolo, Flucht nach Ägypten