BSDE representation and randomized dynamic programming principle for stochastic control problems of infinite-dimensional jump-diffusions