I am unclear what line you replaced, it sounds like you replaced the line from the SCV. Do you have a part number and I can look it up on JDparts. The seat switch does nothing, but sound an alarm if the PTO is on and you leave the seat. Once started there is no safety switches which keeps you from going. I take it acts the same no matter what range/gear you are in. Here is a link to tractordata, if you look at the bottom left you can match serial number to your tractor. Here is a picture of the hydraulic system. Does the steering still work?
What you replaced should not keep it from moving.
TractorData.com John Deere 5310 tractor information
What you replaced should not keep it from moving.
TractorData.com John Deere 5310 tractor information