A judge agreed to order ‘nonconsensual’ nutrition and medical treatment for Rahmanullah Lakanwal, who was rushed to a hospital in July after he stopped eating