Ryan Ledson opened the scoring for Preston North End with a superb strike against Fulham in the Carabao Cup.