Observation of twist-induced geometric phases and inhibition of optical tunneling via Aharonov-Bohm effects