Teenager injured after being thrown from fairground ride