For too long at art museums, their audiences have signaled — implicitly and explicitly — who belongs and doesn’t.