Usually I2C operates with pull-up resistor of 2K ~ 10K and 4.7K is a middle (safe?) range.
But what important is the ramp of rise and fall edge.
Please refer to the I2C specification
Having written above, chance is high that with the 2.2K installed in the CY8CKIT-040, the slave can work.
I'd suggest you to connect the device and monitor the ramp to see if it is within the specification range.
(Or more casually, connect and try! I hope it will work...)
In case not, if the ramp is out of range, I would do (from easy to difficult)
(1) remove pull-up resistors if there is/are between the CY8CKIT-040 and the slave
(2) replace R8 and R9 of the CY8CKIT-040 with 4.7K
(3) use P3 and P3 for I2C pins and add external pull-up resistors
Note: (3) uses pins for SWD, so we need to set Debug select to GPIO,
with this we will not be able to debug the program.