Rupert Everett has hailed the works of Oscar Wilde, who was imprisoned for homosexual acts, as resonant in a world where some people are still punished for being gay.