This National Theatre revival of Alan Ayckbourn's 1987 play is funny and farcical, but leaves a bitter aftertaste, says Charles Spencer