The fight over an abandoned stretch of railway in Queens reflects a national debate over whether unused track should become parks, transit lines, or both.