Behind its romantic medieval castle and pretty, cobbled lanes, this Czech town is getting creative when it comes to looking for new ways to make tourism work for everyone, finds Jenny Elliott