Pray for a wayward child by asking God to grant repentance. Paul says to instruct opponents in meekness, if God peradventure will give them repentance (2 Timothy 2:25, King James Version). Luke 15 shows a father who runs to a son who comes home. The story does not promise that every child returns.
What can a parent actually ask?
The sentence in 2 Timothy is careful. Timothy is to correct people who oppose themselves, and he is to do it in meekness. The repentance is something God may give. 'Peradventure' leaves the result with God. A parent can pray that line without turning it into a lever. You ask. You do not inform God of the date.
In meekness instructing those that oppose themselves; if God peradventure will give them repentance to the acknowledging of the truth (2 Timothy 2:25, King James Version)
That is a prayer for a change of mind toward the truth, not a prayer that the child will adopt the parent's timetable or spare the parent embarrassment. The acknowledging of the truth is the good you are asking for.
Does the prodigal son promise my child will come back?
Luke 15 is Jesus answering Pharisees and scribes who grumbled that he received sinners. He tells of a sheep, a coin, and a son. The son comes to himself, names his sin, and goes home. The father sees him a great way off, runs, and kisses him.
And he arose, and came to his father. But when he was yet a great way off, his father saw him, and had compassion, and ran, and fell on his neck, and kissed him (Luke 15:20, King James Version)
The father in the story does not drag the son out of the far country. The son arises and comes. Parents sometimes preach the kiss and skip the son's words: 'I have sinned against heaven, and before thee' (Luke 15:18, King James Version). Pray for that clarity, and pray to be ready to receive it without a lecture that replaces the father's run. Do not tell another parent that their child must return because this parable ended that way. Jesus told the story to reveal God's joy over a sinner who repents. He did not publish a schedule.
How do I pray on the days I am angry or ashamed?
Bring the anger in the prayer instead of polishing it. The psalms do this. 'How long wilt thou forget me, O LORD?' is a real prayer (Psalm 13:1, King James Version). Shame about a child's public choices is not the same request as the child's repentance. Name your own fear of what the church will think, and then return to the child's need of the truth. If you have no composed words, say so. A short honest line is still prayer, which is the point of the page on how to pray when you do not know what to say.
What if the household itself is strained?
A child's departure often lands on a marriage that was already thin. Pray for the child, and do not make the spouse the enemy in the prayer. Scripture's words for a household, including honor of father and mother and the charge not to provoke children, are gathered on the page about what the Bible says about family. If the strain has reached the question of leaving a marriage, read divorce in the Old and New Testaments beside Matthew 19, and do not use a child's rebellion as a reason the text does not give.
Keep praying. The widow in Luke 18 is about God's justice for his elect, not a technique for children, so do not steal that parable. What you do have is a command to pray, a God who gives repentance when he wills, and a picture of a father who has not gone cold. That is enough to kneel with tonight.