Wild pokemon always flee after you make your move.
As for your poison question i assume you mean when you have multiple statuses on you which would go first. Well from what i test If you use wish it will always heal you up after you take all your other damage. Meaning Weather,Leech Seed, Poison and Burn will take their effects before Wish. Poison and Burn comes first, then Weather, then Leech Seed.