I believe the principle is called the Shop Keepers Privilege.
The law allows them to do more than a stranger could. But if you just refused to show them your receipt and kept walking, I'd bet they don't do anything. The liability of touching you is way to high for policy to be bathing else.