Parrot missing for months flies into schoolgirl’s window during online lesson