There is definitely a relationship between RPM and Max Speed. For a given pitch, the faster you can turn that prop, the faster you will go. The key measurement, though, is engine RPM. A properly trimmed and rigged boat should achieve its max WOT RPM, so that is your first step. Then you will find out if you have any wiggle room to move your pitch up or down.
Given your scenario, you need to find out what your max WOT RPM for your motor. If you are in the range with both scenarios (i.e. MAX WOT is 5500-6000 RPM), and note most folks like to run at the top of their WOT Range, you can play around with the two pitches. So, if you are turning 6000 RPM, and the 13" Pitch means the prop turns 13" for a full revolution, you are moving 6000 Rev/Min x 13 In/Rev = 78000 In/Min x 60 Min/hr = 4680000 in/hr x .0000158 mi/in = 73.944 mi/hr. Now that is completely disregarding something called slip, which accounts for things like friction, water resistance, etc, etc. so the number is basically meaningless other than for the sake of this discussion of how a change in pitch affects speed.
Going through the same exercise with a 14" Pitch Prop at 5800 RPM: 5800 Rev/Min x 14 in/rev = 81200 in/min x 60 min/hr = 4872000 in/hr x .0000158 in/mi = 76.9776 Mi/hr.
The higher pitch at the lower RPM will yield a net gain of 2 MPH (approximately), or a 4% increase in speed. Given that slip should be constant for your boat (again, in theory), the 4% should be valid, so if your boat is running 25 knots at WOT 6K RPM with a 13" P prop, you should be able to increase speed to 26 Knots with the change in prop at the lower RPM.
Again, I may be totally blowing smoke here, and if I am off with my calculations, I'm sure someone else will pipe in. I know there are good calculators online that will let you play with numbers once you have actual measurements on your rig of current prop, WOT RPMs, and speed.
Rgds
Eric