A heritage railway line which was made famous by the Railway Children film has won a national award for its visitor centre.