Initial testing of a pixelated silicon detector prototype in proton therapy