Gayle Rankin delivers a commanding performance in the National Theatre of Scotland’s ambitious new adaptation of The Prime of Miss Jean Brodie.