A PE teacher from Wiltshire accused of having sex with a teenage pupil told a court she wanted to be liked and found it hard to “say no”.