A man accused of stabbing another man to death in 2022 on a popular trail in Manchester will have a hearing to determine whether he might face trial.