A Variational Perspective on Generative Protein Fitness Optimization