Experimental demonstration of photonic contention resolution