Ripon beauty queen qualifies for UK final