A lot will depend on the loft-space construction. If you have a modern roof truss structure, the ceiling will (almost certainly) be attached to the underside of these - so the stud wall will probably not be load bearing. If the roof is an older type, then it is more tricky. You do have to be...