Imelda Staunton stars in an intelligent, stylish, new play at Hampstead Theatre about living on the wrong side of South Boston's tracks, says Tim Walker