A Bożejko–Picardello type inequality for finite-dimensional CAT(0) cube complexes