One Physics, Two Problems: A Unified Framework for Robot Traversability