Francis Beaumont's comedy The Knight of the Burning Pestle is in expert hands at the Sam Wanamaker Playhouse, says Dominic Cavendish