The actors’ strong performances help the film land, despite a ludicrously far-fetched ending.