The ebb of rivers -- the paleo-river elevation transition due to the decline of greenhouse effect on early Mars