The shaky lines are almost certainly coming from stitch length, not from how you were sitting. On curves, backstitch needs to be much shorter than people instinctively make it. Long stitches on a curve force the line to wander to one side or the other, and that's what reads as thick and thin. Aim for stitches no longer than a grain of rice on text, even shorter on tight curves, and always bring the needle up or down right on your guideline, never beside it. If the guideline itself was wobbly, you're stitching a wobbly line with perfect accuracy, so fixing that first will help a lot. For the guideline, yes, swap the pencil. A water soluble marker is the cheap and easy option, and it behaves well on most cotton or linen. Trace or draw your letters, check them in the hoop before you stitch, and wipe with a damp cloth when done. Transfer pens are handy if you like to draw on paper first, since you can trace your lettering over and over til it looks right, then iron it through. Whichever you use, draw the letters as single lines rather than outlining shapes, because thin single lines are much easier to follow with a stitch. The thread twist is a real culprit too. Every so often, let the needle dangle from the fabric so the thread can unwind itself, maybe every five or six stitches on a curvy section. Also keep your strands flat as they lie against the fabric, untwisted the way they came off the skein, and don't pull too tight. Tight tension plus twist is what makes a line go ropey and uneven.
On stem stitch vs backstitch, try stem stitch and I suspect you'll never go back for lettering. It makes a slightly ropey, continuous line that hides small inconsistencies, so curves look smoother even when your stitches aren't perfectly even. It travels left to right with the needle coming up on the same side of the line each time, and on curves you keep the working thread on the outside of the curve. Split stitch is the other one worth trying, it looks very similar and some people find it easier to keep even.
One last obvious one since you asked for those: stitch text with the fabric drum tight in the hoop and take your stitches slowly, one at a time, checking that each one touches the line. Speed is where letters fall apart. Once your hand learns the rhythm on a practice scrap, the quote piece will come togehter fine.