Celebrations were ‘forced into hiding’ as outcome of legislation, which would put LGBT+ people at risk of imprisonment, remains unclear