It sounds to me as though the DVI port on the MM is damaged due to the lightning. I would take it to the Apple Store (assuming you have one near) just so they can test it out for you. If it is under Apple Care they will replace it for you at no charge.
Unfortunately on the MM, the display port is dedicated, so replacing it will mean a complete replacement of the logic board which should cost somewhere around $350 from Apple. If the Apple Store proves to be too expensive you could look on eBay or Google some refurbed/used MM logic boards.
Best.