Space telescope: In orbit around a planet but looking at other objects in space
I can think of at least three reasons:
- You can be closer to a small planet than a larger planet if the planet must block no more than X% of the sky. This answer gives the equation of the solid angle that a spherical body would block. $OP = R + h$ where $R$ is the radius of the planet and $h$ is the height of satellite above the planet's surface. If the planet is twice as large and you make $h$ twice as high, the solid angle blocked will be the same.
$$\Omega = 2\pi \left( 1-\frac{ \sqrt{2rh + h^2}}{R + h} \right)$$

If you are using cooled optics and image sensors to look for objects like asteroids or comets using thermal infrared light or just looking at infrared like the JWST, you might want to be farther from a hot planet than a cold planet to decrease the thermal loading from the planet's infrared radiation.
If your planet is very close to the Sun then reflected glare from the planet (e.g. Earthshine) will be more of a problem than for a planet far from the Sun. Baffles on the telescope help somewhat and you can coat the inside of your telescope with Vantablack but getting farther from the source of the scattered light will also help
Planet-observing telescope: In orbit around a planet and looking down at it
- You can see below that a satellite in a higher orbit will move a bit slower, and so the blurring of the planet's surface due to the satellite's motion will be reduced (neglecting the planet's own rotation which you might not be able to do) but at a given image scale (meters per pixel) you'll need to increase your focal length and aperture diameter to keep the f/no. and image brightness the same. The speed of a circular orbit around a planet is given by
$$v \approx \sqrt{\frac{GM}{r}}$$
where $G$ is the gravitational constant about 6.674E−11 m^3 /kg s^2, $M$ is the mass of the planet and $r$ is the radius or semimajor axis of the circular orbit. You can also look up the product $GM$ for the Sun, Moon and planets as their standard gravitational parameter.