Text this: Inferring excitation-inhibition dynamics using a maximum entropy model unifying brain structure and function