PM expected to include bill in King’s Speech banning attempts to change someone’s sexuality or gender