Edit: In the light of @fgrieu's comment, I am assuming that we are given two distinct integers for simplicity, since the answer is only intended to be approximate. So my "bad event" is that two distinct integers collide after reduction modulo $m.$
An approximate answer which can easily be made more precise. It's convenient to change some variables. All logs are to base $e.$
Given two uniformly distributed integers in $[1,m]$ they collide after reduction modulo the prime $p$ with probability $1/p$. Actually if the prime is larger they will not collide but our case is predominantly the opposite since we can take $m=\lfloor 2^N\rfloor$ for your $N,$ and essentially recover your problem.
For the primes in the interval
$I_i=(L_i,R_i]=(m/e^{i+1},m/e^i]\cap \mathbb{N}$ where $i\geq 0,$ this probability is upper bounded by $e^{i+1}/m$ by assuming the prime is selected from the left end of the interval.
These intervals partition $\{1,\ldots,m\}$ if we let
$i$ range in $\{0,1,\ldots \lfloor \log m\rfloor\}.$ For the largest $i$ (leftmost interval)
we can take the left end to be the integer $1,$ but use the estimate to be given below with no problems.
By the prime number theorem there are approximately
$$
K_i=\frac{R_i}{\log R_i}-\frac{L_i}{\log L_i}\sim \frac{1}{e^i}\frac{m}{\log m}\left(1-\frac{1}{e}\right)
:=\frac{(e-1)m}{\log m}\frac{1}{e^{i+1}}
$$
primes in this interval.
Now we can estimate the overall probability via
$$
P_{collision}=\sum_{i=0}^{\lceil \log m \rceil} \mathbb{P}\left[ p \in K_i\right]\frac{1}{p}\approx \sum_{i=0}^{\lceil \log m \rceil}
\frac{\frac{(e-1)m}{\log m}\frac{1}{e^{i+1}}}{ \frac{m}{\log m} }\frac{1}{p}
\leq \sum_{i=0}^{\lceil \log m \rceil}\frac{(e-1)}{e^{i+1}} \frac{e^i}{m}
$$
which becomes
$$
P_{collision} \leq \frac{(e-1)}{m} \sum_{i=0}^{\lceil \log m \rceil} e^{-1}
\sim \frac{e-1}{e}\frac{\log m}{m}.
$$
Note that we can make this collision probability small enough by increasing $m.$ You wanted to consider the first $N$ primes, which means $m\approx N \log N.$
Also this makes sense since we could just choose primes from the rightmost interval $K_0=(m/e,m],$ which is a fixed fraction of the whole interval $[1,m]$ and get essentially the same performance (note that the smaller primes are less discriminating) and we are already covering a $1-\frac{1}{e}$ fraction of the total interval.