An accomplished photographer by the age of eight, this Bostonian visionary invented a kaleidoscopic mirror to take ‘vortographs’, took some of the most innovative images of the early 20th century – then gave it all up to focus on being a freemason