Azly's friend Amir noticed the man as wedding guests gathered for pictures with the bride and groom