The judge denied Stone's request to have Roan attend school in Los Angeles, saying the child was to permanently stay in San Francisco