What tool should I use to unscrew a hard-to-access hexagonal screw?
Those are levelling legs. 

Dishwashers are either held in via screws on top of the dishwasher that attach to countertop above, or that screw the side (look roughly 1/3rd down just inside the DW door) of the dishwasher to the surrounding cabinet.