Barry Hawkins knocked in a brilliant century break in the second frame of the European Masters semi-final against Mark Selby.