What happens if the parameter WPNAV_SPEED is more than the maximum power of the motors

For example If the WPNAV_SPEED 20 and the maximum power that the motors can give is 15, can the motors or the esc be damaged?

No, they will not get damaged.