A painting from a thrift store in Glenside is by William H. Dorsey, of Philadelphia’s elite Black society circa 1864.