Apex court says walking powered the freedom struggle, politics and social reforms, but is yet to be recognised as a fundamental right; asks government to frame a law to protect pedestrians