Georgia has quit the Eurovision Song Contest after the country's anti-Putin song was banned for violating the rules of the contest.