A Variational Encoder Framework for Decoding Behavior Choices from Neural Data