A Framework for Non-Linear Attention via Modern Hopfield Networks