I agree it's unfortunate. I may have done the same thing at some point. The PanelDue isn't very intelligent in and of itself. It simply sends gcode commands when you press the buttons. I think it's already in the wishlist to have the button hidden during a print.
Since the autolevel button on the PanelDue just calls G32 and therefore bed.g macro you can customize it to behave however you wish.
Perhaps a good idea would be to issue a pause command at the start and then an M291 dialogue with OK/cancel to act as a confirmation. That way if you did accidentally press it, it should be able to cancel it and resume the print. I haven't tried that myself, so I'm not sure if it would even work.
With conditional gcode it should also be possible to check if a print is in progress and exit the macro if so.