Variational Image Feature Extraction for the Event Horizon Telescope