Nanomechanics of surface DNA switches probed by captive contact angle