The lifecycle of topographically-generated internal waves