A Scottish teen’s attempt to ease chronic pain by changing her nighttime routine sparked family conflict.