A Wigan library has closed its doors so repairs can be carried out to its roof.