Jeremy Corbyn has warned Theresa May that she must not abandon LGBT rights in favour of "clinging to power" by aligning with the Democratic Unionist Party (DUP).