The camera will draw only what it needs, which will remain at less than 1A, since their minimum requirement is for a 1A supply. As it happens it will draw around 600mA max, during normal night operation, and close to 1A during boot up, i.e. initial power on.
Your 2.4A supply will present no issues, as long as it is working properly, and providing an accurate 5V, as I’m sure it will be.
EDIT: Actually, I don’t know the values for an XT2, only for the XT, but it will be similar or less for the XT2, because we know battery life is longer.