Stephen Karam didn’t set out to write a play about where he grew up, in an aging Pennsylvania city long past its boom, built on industries that deserted it decades ago.