The orthogonal subcategory problem for pointed endofunctors