Not need for a MEL, here what you want. Just go to Shading > Shading Options > Wireframe on Shaded. Here an example: