A moment problem for random discrete measures