Does Block Work on Mesprit?

No, Block will not stop Mesprit from fleeing. You can still wear it down with status effects, though — burn, poison, paralysis and sleep all work.

Since Mesprit runs at the first opportunity, applying a status condition and chipping away quickly is the practical approach rather than trying to trap it.