Former Pope Benedict struggled with Vatican’s ‘gay lobby’ power