S.F. gallery’s ‘Tenterhooks’ gets inside the brain with blend of visual art, dance